package com.luozongyao.videoPromotion.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.luozongyao.videoPromotion.entity.Video;
import com.luozongyao.videoPromotion.mapper.VideoMapper;
import com.luozongyao.videoPromotion.service.VideoService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author luozongyao
 * @since 2021-11-07
 */
@Service
public class VideoServiceImpl extends ServiceImpl<VideoMapper, Video> implements VideoService {

    //获取某天视频发布数
    @Override
    public Integer getVideoCount(String day) {
        return baseMapper.selectVideoCount(day);
    }


}
